package com.wiz.web.service;

import java.util.List;

import com.wiz.web.vo.AdminGroupHistoryVO;
import com.wiz.web.vo.criteria.FpCriteria;
import com.wiz.web.vo.criteria.HqStationCriteria;
import com.wiz.web.vo.to.AdminTO;
import com.wiz.web.vo.to.OilTankTO;


public interface HqStationService extends BasicService {

	/**
	 * 获取站点所有会员等级信息
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String getGradesByHqId(HqStationCriteria criteria);
	
	/**
	 * 积分兑换列表
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String getPointList(HqStationCriteria criteria);
	
	/**
	 * 积分兑换
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String exchangePoint(HqStationCriteria criteria) throws Exception;
	
	/**
	 * 配置站点油枪信息
	 * @param stationId
	 * @param hqstation
	 * @return
	 * @throws Exception
	 */
	public String configFpsByStation(List<FpCriteria> criteriaList) throws Exception;
	
	/**
	 * 更新油枪状态
	 * @param stationId
	 * @param hqstation
	 * @return
	 * @throws Exception
	 */
	public String updateFp(List<FpCriteria> criteriaList) throws Exception;
	
	/**
	 * 新增交接班班组数据/更新
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String insertAdminGroup(List<AdminTO> adminList) throws Exception;
	
	/**
	 * 新增上下班
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String insertAttendHistory(AdminTO to);
	
	/**
	 * 同步员工班组数据
	 * @param stationId
	 * @param hqstation
	 * @return
	 */
	public String syncAdminGroupHistory(AdminGroupHistoryVO vo, String hqId, String stationId) throws Exception;
	
	/**
	 * 获取该总部下的所有站点
	 * @param hqId
	 * @return
	 * @throws Exception
	 */
	public String getStationsByHqId(HqStationCriteria criteria) throws Exception;
}
